package com.bw.liuyushan.mykotlin_firstmvptest.MVP.Entity

import com.chad.library.adapter.base.entity.MultiItemEntity

/**
 *MyKotlin_FirstMVPTest
 *file name is : Good
 *created by Ender on 2021/9/17 10:31.
 *author : 刘雨杉
 *Describe:准备存入数据库 做多布局的 商品数据类
 */
data class Good(var id:Int,var title:String,var goods_price: String, var goods_count: String,var good_check:Boolean=false):MultiItemEntity{
    override fun getItemType(): Int {
        return id % 2
    }
}
